package com.huawei.classroom.student.h08;

public class LoginUtil {
	public LoginUtil() {
		
	}
	
	public void login(String admin, String password) throws InvalidUserException{
		if(admin.equals("a") && password.equals("a")) {
			return;
		}
		throw new InvalidUserException("Not 'a' and 'a'");
	}
}
